package org.research.sdbx.datetime;

import java.util.Calendar;
import java.util.Date;

public interface TimeRange {
	
	public abstract boolean before(TimeRange timeRange);
	public abstract boolean before(TimeInstance time);
	public abstract boolean before(Calendar calendar);
	public abstract boolean before(Date date);
	
	
	public abstract boolean after(TimeRange timeRange);
	public abstract boolean after(TimeInstance time);
	public abstract boolean after(Calendar calendar);
	public abstract boolean after(Date date);
	
	public abstract boolean between(TimeRange timeRange);
	
	public abstract boolean isOverlapping(TimeRange timeRange);
	
}
